<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
?>
<script language="JavaScript" type="text/javascript">
// <![CDATA[
<!--
			function autoFormSubmit()
      {
				 document.getElementById("upload_form").submit();
			}
//-->
// ]]>
</script>
<div style="font-family:Verdana;font-size:11px;">

<form name="upload_form" id="upload_form" enctype="multipart/form-data" method="POST" action="<?=$mosConfig_live_site.'/index2.php?option=com_joomleague&amp;func=upload_userpic&amp;no_html=1&p=1';?>" onSubmit="return false;">
    <b>Bild Hochladen: (Erlaubt: <?php echo $filetypes.', max: '.$filesize;?> kB)</b><br />
    <input class="inputbox" name="userfile" style="width:50px;" id="userfile" type="file" size="50" onChange="autoFormSubmit();" />
    
    <div id="txt" style="display: none"></div>

</form>
</div>
